package com.xiangyang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "user")
public class User implements Serializable {

    @Serial
    private static final long serialVersionUID = 4511116803951741367L;
    @TableId(value = "user_id",type = IdType.AUTO)
    private Long userId;
    private String userName;
    private String userPhone;
    private String userPassword;
    private String userCard;
    private String userSex;
    private Integer userAge;
    private Long userDepartment;
    private Integer jobNumber;
    private Integer userState;
    private Integer userType;
    private String createBy;
    private Long createTime;
    private String updateBy;
    private Date updateTime;
    private String userAvatar;





}
